package com.tamir.template.context;

/**
 * @author : tanggh
 * @description :〈描述〉
 * @date : 2016/10/26
 */
public class TemplateContextHelper
{
    public static ThreadLocal<TemplateContext> threadLocal = new ThreadLocal<TemplateContext>();

    public static void setTemplateContext(TemplateContext context){
        threadLocal.set(context);
    }

    public static TemplateContext getTemplateContext(){
        return threadLocal.get();
    }
}
